using NL.Combat;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using static PlasticPipe.Server.MonitorStats;

namespace NL.RPG
{
    [System.Serializable]
    public class ATT : AttNormal__
    {



        public override string ToString()
        {
            return $"Attack={Attack}";
        }
    }
    [System.Serializable]
    public class DEF : DefNomal__
    {

        public override string ToString()
        {
            return $"Defence={Defence}";
        }
    }
    [System.Serializable]
    public class HURT : Hurt__
    {


        public HURT(ATT att, DEF def)
        {
            if (att == null) return;

            hp = att.Attack - (def == null ? 0 : def.Defence);
        }

        public override string ToString()
        {
            return $"hp={hp}";
        }
    }
}

